<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('专家去世确认管理')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row" id="qushiquerenlist">

            <input name="deptid" th:value="${deptid}" type="hidden" id="deptid">

            <div  class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <li>
                                <label>专家姓名：</label>
                                <input type="text" name="xingming" v-model="xingming"/>
                            </li>
                            <li>
                                <label>所属单位：</label>
                                <input type="text" name="suoshudanwei" v-model="suoshudanwei"/>
                            </li>
                            <li>
                                <label>身份证号：</label>
                                <input type="text" name="shenfenzhenghao" v-model="shenfenzhenghao"/>
                            </li>
                            <li>
                                <label>死亡(注销)标记：</label>
                                <select name="siwangbiaoji" v-model="siwangbiaoji" class="form-control" type="text">
                                    <option value="99">请选择</option>
                                    <option value="注销">注销</option>
                                    <option value="确定死亡">确定死亡</option>
                                </select>
                            </li>
                            <li>
                                <label>是否处理：</label>
                                <select name="shifouchuli" v-model="shifouchuli" class="form-control" type="text">
                                    <option value="99">请选择</option>
                                    <option value="0">未处理</option>
                                    <option value="1">已处理</option>
                                </select>
                            </li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" @click="bindQushiquerenList"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" @click="reset"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div  class="col-sm-12 select-table table-striped">

                <table class="table table-hover table-primary table-striped">
                    <thead>
                    <tr>
                        <th style="text-align: center; vertical-align: middle;">序号</th>
                        <!--<th style="text-align: center; vertical-align: middle;">专家ID</th>-->
                        <th style="text-align: center; vertical-align: middle;">姓名</th>
                        <!--<th style="text-align: center; vertical-align: middle;">单位代码</th>-->
                        <th style="text-align: center; vertical-align: middle;">所属单位</th>
                        <th style="text-align: center; vertical-align: middle;">工作单位</th>
                        <th style="text-align: center; vertical-align: middle;">身份证号</th>
                        <th style="text-align: center; vertical-align: middle;">死亡（注销）标识</th>
                        <th style="text-align: center; vertical-align: middle;">死亡日期</th>
                        <th style="text-align: center; vertical-align: middle;">备注</th>
                        <th style="text-align: center; vertical-align: middle;">是否处理</th>
                        <th style="text-align: center; vertical-align: middle;">处理日期</th>
                        <th style="text-align: center; vertical-align: middle;">处理结果</th>
                        <th style="text-align: center; vertical-align: middle;">说明</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="(qushiquerenitem,index) in qushiquerenlist"  v-if="qushiquerenlist.length > 0">
                        <td style="vertical-align: middle; text-align: center;" v-text="index+1"></td>
                        <!--<td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.zhuanjiaid"></td>-->
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.xingming"></td>
                        <!--<td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.jigoudaima"></td>-->
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.suoshudanwei"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.gongzuodanwei"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.shenfenzhenghao"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.siwangbiaoji"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.siwangriqi"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.beizhu"></td>
                        <td style="vertical-align: middle; text-align: center;color:red" v-if="qushiquerenitem.shifouchuli==0">未处理</td>
                        <td style="vertical-align: middle; text-align: center;color:green" v-if="qushiquerenitem.shifouchuli==1">已处理</td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.chuliriqi"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.chulijieguo"></td>
                        <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.shuoming"></td>
                    </tr>
                    <tr v-if="qushiquerenlist.length == 0">
                        <td style="text-align: center; vertical-align: middle" colspan="12">查无数据</td>
                    </tr>
                    </tbody>
                </table>

                <div v-if="recordCount != '0'" class="my-page-navigation" style="text-align:center;">
                    <button class="btn btn-default" @click="firstPage">首页</button>
                    <button class="btn btn-default" @click="prePage">上一页</button>
                    <select class="custom-select border-secondary" v-model="pagesize">
                        <option value="10">10 条/页</option>
                        <option value="20">20 条/页</option>
                        <option value="30">30 条/页</option>
                        <option value="50">50 条/页</option>
                    </select>
                    <span v-text="pageindex + '  /  ' + pageCount" style="border-color: #6c757d"></span>
                    <span v-text="'共' + recordCount + '条'" style="border-color: #6c757d"></span>
                    <button class="btn btn-default" @click="nextPage">下一页</button>
                    <button class="btn btn-default" @click="lastPage">尾页</button>
                    <span style="border-color: #6c757d">跳到第</span>
                    <input type="text" class="form-control border-secondary" style="width:50px;display:inline;" v-model="targetpage" @keyup.enter="targetPage">
                    <span style="border-color: #6c757d">页</span>
                    <button class="btn btn-default" @click="targetPage">跳</button>
                </div>

            </div>




        </div>
    </div>
    <th:block th:include="include :: footer" />
     <script th:src="@{/js/system/zhuanjiaqushiqueren/qushiquerenRenyuanlist.js?v=1.1}"></script>

</body>
</html>